package org.smr.ministore.dao;

import org.apache.ibatis.annotations.Param;
import org.smr.ministore.entities.Role;
import org.apache.ibatis.annotations.Mapper;
import org.blade.dao.base.BaseMapper;
import org.blade.dao.base.PageQueryMapper;

import java.util.List;

/**
*
**/
@Mapper
public interface RoleMapper extends BaseMapper<Long, Role>,PageQueryMapper<Long,Role> {


    public List<Role> selectByUser(@Param("userId") Long userId);


}
